<template>
  <div class="hello">
    <div class="main-content">
      <div class="col-xs-12">
        <div class="breadcrumbs" id="breadcrumbs">
          <ul class="breadcrumb">
            <li><i class="icon-home home-icon"></i><a href="#">首页</a></li>
            <li>商品分类</li>
          </ul>
        </div>
        <div class="table-responsive">
          <div id="sample-table-2_wrapper" class="dataTables_wrapper" role="grid">
            <div class="row">
              <div class="col-sm-2">
                <div id="sample-table-2_length" class="dataTables_length">
                  <a href="http://inventory.hdjzq.top/admin/cashier/category/create" class="btn btn-sm btn-primary">新增</a>
                  <a href="javascript:void(0);" class="btn btn-sm btn-purple" id="show_all">展开所有</a>
                </div>
              </div>
            </div>
            <table id="sample-table-2"
                   class="table table-striped table-bordered table-hover dataTable del-table"
                   aria-describedby="sample-table-2_info">
              <thead>
              <tr role="row">
                <th>编号</th>
                <th>分类名称</th>
                <th>分类商品</th>
                <th>排序</th>
                <th>是否显示</th>
                <th>操作</th>
              </tr>
              </thead>
              <tbody>
              <tr class="xParent" data-id="41" id="row_41">
                <td>41</td>
                <td>
                  电脑
                </td>
                <td></td>
                <td>
                  <input type="text" class="ace sort_order" value="8"
                         style="width: 50px;">
                </td>
                <td>
                  <span class="icon-ok change_attr" data-attr="is_show"></span>
                </td>
                <td>
                  <div class="visible-md visible-lg hidden-sm hidden-xs action-buttons">
                    <a class="green" href="http://inventory.hdjzq.top/admin/cashier/category/41/edit"><i
                      class="icon-pencil bigger-130"></i></a>
                    <a class="red" href="http://inventory.hdjzq.top/admin/cashier/category/41"
                       data-method="delete" data-token="tRGNLgWxEanVIppBBNxWGUtCKvzuH2BtwtVbdJ8d"
                       data-confirm="确定要删除此条记录么?">
                      <i class="icon-trash bigger-130"></i>
                    </a>
                  </div>
                </td>
              </tr>
              <tr class="xChildren child_row_41" data-id="42" style="display: none;">
                <td>42</td>
                <td>
                  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|--平板电脑
                </td>
                <td>
                  <span class="btn btn-xs btn-pink">查看商品</span>
                </td>
                <td>
                  <input type="text" class="ace sort_order" value="1"
                         style="width: 50px;">
                </td>
                <td>
                  <span class="icon-ok change_attr" data-attr="is_show"></span>
                </td>
                <td>
                  <div class="visible-md visible-lg hidden-sm hidden-xs action-buttons">
                    <a class="green" href="http://inventory.hdjzq.top/admin/cashier/category/42/edit"><i
                      class="icon-pencil bigger-130"></i></a>
                    <a class="red" href="http://inventory.hdjzq.top/admin/cashier/category/42"
                       data-method="delete" data-token="tRGNLgWxEanVIppBBNxWGUtCKvzuH2BtwtVbdJ8d"
                       data-confirm="确定要删除此条记录么?">
                      <i class="icon-trash bigger-130"></i>
                    </a>
                  </div>
                </td>
              </tr>
              <tr class="xChildren child_row_41" data-id="47" style="display: none;">
                <td>47</td>
                <td>
                  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|--小米电脑1
                </td>
                <td>
                  <span class="btn btn-xs btn-pink">查看商品</span>
                </td>
                <td>
                  <input type="text" class="ace sort_order" value="16"
                         style="width: 50px;">
                </td>
                <td>
                  <span class="icon-ok change_attr" data-attr="is_show"></span>
                </td>
                <td>
                  <div class="visible-md visible-lg hidden-sm hidden-xs action-buttons">
                    <a class="green" href="http://inventory.hdjzq.top/admin/cashier/category/47/edit"><i
                      class="icon-pencil bigger-130"></i></a>
                    <a class="red" href="http://inventory.hdjzq.top/admin/cashier/category/47"
                       data-method="delete" data-token="tRGNLgWxEanVIppBBNxWGUtCKvzuH2BtwtVbdJ8d"
                       data-confirm="确定要删除此条记录么?">
                      <i class="icon-trash bigger-130"></i>
                    </a>
                  </div>
                </td>
              </tr>
              <tr class="xParent" data-id="48" id="row_48">
                <td>48</td>
                <td>
                  手机
                </td>
                <td></td>
                <td>
                  <input type="text" class="ace sort_order" value="9"
                         style="width: 50px;">
                </td>
                <td>
                  <span class="icon-ban-circle change_attr" data-attr="is_show"></span>
                </td>
                <td>
                  <div class="visible-md visible-lg hidden-sm hidden-xs action-buttons">
                    <a class="green" href="http://inventory.hdjzq.top/admin/cashier/category/48/edit"><i
                      class="icon-pencil bigger-130"></i></a>
                    <a class="red" href="http://inventory.hdjzq.top/admin/cashier/category/48"
                       data-method="delete" data-token="tRGNLgWxEanVIppBBNxWGUtCKvzuH2BtwtVbdJ8d"
                       data-confirm="确定要删除此条记录么?">
                      <i class="icon-trash bigger-130"></i>
                    </a>
                  </div>
                </td>
              </tr>
              <tr class="xChildren child_row_48" data-id="49" style="display: none;">
                <td>49</td>
                <td>
                  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|--小米5
                </td>
                <td>
                  <span class="btn btn-xs btn-pink">查看商品</span>
                </td>
                <td>
                  <input type="text" class="ace sort_order" value="7"
                         style="width: 50px;">
                </td>
                <td>
                  <span class="icon-ban-circle change_attr" data-attr="is_show"></span>
                </td>
                <td>
                  <div class="visible-md visible-lg hidden-sm hidden-xs action-buttons">
                    <a class="green" href="http://inventory.hdjzq.top/admin/cashier/category/49/edit"><i
                      class="icon-pencil bigger-130"></i></a>
                    <a class="red" href="http://inventory.hdjzq.top/admin/cashier/category/49"
                       data-method="delete" data-token="tRGNLgWxEanVIppBBNxWGUtCKvzuH2BtwtVbdJ8d"
                       data-confirm="确定要删除此条记录么?">
                      <i class="icon-trash bigger-130"></i>
                    </a>
                  </div>
                </td>
              </tr>
              <tr class="xChildren child_row_48" data-id="50" style="display: none;">
                <td>50</td>
                <td>
                  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|--小米note4x
                </td>
                <td>
                  <span class="btn btn-xs btn-pink">查看商品</span>
                </td>
                <td>
                  <input type="text" class="ace sort_order" value="12"
                         style="width: 50px;">
                </td>
                <td>
                  <span class="icon-ban-circle change_attr" data-attr="is_show"></span>
                </td>
                <td>
                  <div class="visible-md visible-lg hidden-sm hidden-xs action-buttons">
                    <a class="green" href="http://inventory.hdjzq.top/admin/cashier/category/50/edit"><i
                      class="icon-pencil bigger-130"></i></a>
                    <a class="red" href="http://inventory.hdjzq.top/admin/cashier/category/50"
                       data-method="delete" data-token="tRGNLgWxEanVIppBBNxWGUtCKvzuH2BtwtVbdJ8d"
                       data-confirm="确定要删除此条记录么?">
                      <i class="icon-trash bigger-130"></i>
                    </a>
                  </div>
                </td>
              </tr>
              <tr class="xParent" data-id="43" id="row_43">
                <td>43</td>
                <td>
                  电影
                </td>
                <td></td>
                <td>
                  <input type="text" class="ace sort_order" value="11"
                         style="width: 50px;">
                </td>
                <td>
                  <span class="icon-ok change_attr" data-attr="is_show"></span>
                </td>
                <td>
                  <div class="visible-md visible-lg hidden-sm hidden-xs action-buttons">
                    <a class="green" href="http://inventory.hdjzq.top/admin/cashier/category/43/edit"><i
                      class="icon-pencil bigger-130"></i></a>
                    <a class="red" href="http://inventory.hdjzq.top/admin/cashier/category/43"
                       data-method="delete" data-token="tRGNLgWxEanVIppBBNxWGUtCKvzuH2BtwtVbdJ8d"
                       data-confirm="确定要删除此条记录么?">
                      <i class="icon-trash bigger-130"></i>
                    </a>
                  </div>
                </td>
              </tr>
              <tr class="xChildren child_row_43" data-id="45" style="display: none;">
                <td>45</td>
                <td>
                  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|--香港电影
                </td>
                <td>
                  <span class="btn btn-xs btn-pink">查看商品</span>
                </td>
                <td>
                  <input type="text" class="ace sort_order" value="10"
                         style="width: 50px;">
                </td>
                <td>
                  <span class="icon-ok change_attr" data-attr="is_show"></span>
                </td>
                <td>
                  <div class="visible-md visible-lg hidden-sm hidden-xs action-buttons">
                    <a class="green" href="http://inventory.hdjzq.top/admin/cashier/category/45/edit"><i
                      class="icon-pencil bigger-130"></i></a>
                    <a class="red" href="http://inventory.hdjzq.top/admin/cashier/category/45"
                       data-method="delete" data-token="tRGNLgWxEanVIppBBNxWGUtCKvzuH2BtwtVbdJ8d"
                       data-confirm="确定要删除此条记录么?">
                      <i class="icon-trash bigger-130"></i>
                    </a>
                  </div>
                </td>
              </tr>
              <tr class="xChildren child_row_43" data-id="44" style="display: none;">
                <td>44</td>
                <td>
                  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|--国产电影
                </td>
                <td>
                  <span class="btn btn-xs btn-pink">查看商品</span>
                </td>
                <td>
                  <input type="text" class="ace sort_order" value="12"
                         style="width: 50px;">
                </td>
                <td>
                  <span class="icon-ok change_attr" data-attr="is_show"></span>
                </td>
                <td>
                  <div class="visible-md visible-lg hidden-sm hidden-xs action-buttons">
                    <a class="green" href="http://inventory.hdjzq.top/admin/cashier/category/44/edit"><i
                      class="icon-pencil bigger-130"></i></a>
                    <a class="red" href="http://inventory.hdjzq.top/admin/cashier/category/44"
                       data-method="delete" data-token="tRGNLgWxEanVIppBBNxWGUtCKvzuH2BtwtVbdJ8d"
                       data-confirm="确定要删除此条记录么?">
                      <i class="icon-trash bigger-130"></i>
                    </a>
                  </div>
                </td>
              </tr>
              </tbody>
            </table>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
  export default {
    name: 'hello',
    data () {
      return {
      }
    }
  }
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>

</style>
